////////////////////////////////////////////////////////////////////////////////////////
//  IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING THIS SOFTWARE
//
//  By downloading, copying, installing or using the software you agree to this license.
//  If you do not agree to this license, do not download, install, copy or use the software.
//
// Copyright (C) 2013, AerVision Technologies Pty Ltd, all rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
//   * Redistribution's of source code must retain the above copyright notice,
//     this list of conditions and the following disclaimer.
//
//   * Redistribution's in binary form must reproduce the above copyright notice,
//     this list of conditions and the following disclaimer in the documentation
//     and/or other materials provided with the distribution.
//
//   * The name of AerVision Technologies, may not be used to endorse or promote products
//     derived from this software without specific prior written permission.
//
// This software is provided by the copyright holders and contributors to demonstrate 
// www.AerCloud.net Framework as a Service API (FaaS), "as is" and
// any express or implied warranties, including, but not limited to, the implied
// warranties of merchantability and fitness for a particular purpose are disclaimed.
// In no event shall the copyright holder or contributors be liable for any direct,
// indirect, incidental, special, exemplary, or consequential damages
// (including, but not limited to, procurement of substitute goods or services;
// loss of use, data, or profits; or business interruption) however caused
// and on any theory of liability, whether in contract, strict liability,
// or tort (including negligence or otherwise) arising in any way out of
// the use of this software, even if advised of the possibility of such damage.
////////////////////////////////////////////////////////////////////////////////////////


package com.aercloud.client.api;

import java.net.MalformedURLException;
import java.net.URL;
import java.util.logging.Logger;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;


/**
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.1.6 in JDK 6
 * Generated source version: 2.1
 * 
 */
@WebServiceClient(name = "ISMWebAPI", targetNamespace = "http://tempuri.org/", wsdlLocation = "file:/C:/Users/rdimov/AppData/Local/Temp/tempdir5162605922553724182.tmp/ISMWebAPI1_1.wsdl")
public class ISMWebAPI
    extends Service
{

    private final static URL ISMWEBAPI_WSDL_LOCATION;
    private final static Logger logger = Logger.getLogger(com.aercloud.client.api.ISMWebAPI.class.getName());

    static {
        URL url = null;
        try {
            URL baseUrl;
            baseUrl = com.aercloud.client.api.ISMWebAPI.class.getResource(".");
            url = new URL(baseUrl, "file:/C:/Users/rdimov/AppData/Local/Temp/tempdir5162605922553724182.tmp/ISMWebAPI1_1.wsdl");
        } catch (MalformedURLException e) {
            logger.warning("Failed to create URL for the wsdl Location: 'file:/C:/Users/rdimov/AppData/Local/Temp/tempdir5162605922553724182.tmp/ISMWebAPI1_1.wsdl', retrying as a local file");
            logger.warning(e.getMessage());
        }
        ISMWEBAPI_WSDL_LOCATION = url;
    }

    public ISMWebAPI(URL wsdlLocation, QName serviceName) {
        super(wsdlLocation, serviceName);
    }

    public ISMWebAPI() {
        super(ISMWEBAPI_WSDL_LOCATION, new QName("http://tempuri.org/", "ISMWebAPI"));
    }

    /**
     * 
     * @return
     *     returns IISMWebAPI
     */
    @WebEndpoint(name = "BasicHttpBinding_IISMWebAPI")
    public IISMWebAPI getBasicHttpBindingIISMWebAPI() {
        return super.getPort(new QName("http://tempuri.org/", "BasicHttpBinding_IISMWebAPI"), IISMWebAPI.class);
    }

    /**
     * 
     * @param features
     *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
     * @return
     *     returns IISMWebAPI
     */
    @WebEndpoint(name = "BasicHttpBinding_IISMWebAPI")
    public IISMWebAPI getBasicHttpBindingIISMWebAPI(WebServiceFeature... features) {
        return super.getPort(new QName("http://tempuri.org/", "BasicHttpBinding_IISMWebAPI"), IISMWebAPI.class, features);
    }

}
